#ifndef GEOMVIEW_I_H
#define GEOMVIEW_I_H

#include "plib.h"

#define GV_DEFAULT	0

#define GV_COMMAND	1
#define GV_GEOMETRY	2
#define GV_CAMERA	3

typedef struct _GEOMVIEW_CTRL_ {
  /** Pipe to geomview process */
  FILE    *gvcmd ;

}geomview_ctrl;

geomview_ctrl * geomview_init(void);
void geomview_close(geomview_ctrl * handle);
void geomview_cmd(geomview_ctrl *  handle, char *  cmd, ...);
void geomview_load(geomview_ctrl *  handle,char *filename,int type);
#endif
